Skip to content

Conversation

@axkar
Copy link
Collaborator

@axkar axkar commented Jun 9, 2025

Verify that auto-negotiation results in expected speed/duplex mode.

Fixed #976

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
    • Docker image upgrade
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

@axkar axkar self-assigned this Jun 9, 2025
@axkar axkar marked this pull request as draft June 9, 2025 13:16
@axkar axkar marked this pull request as ready for review June 9, 2025 14:02
@axkar axkar force-pushed the speed_duplex branch 3 times, most recently from 76d2a1c to 60e3fa0 Compare June 11, 2025 13:21
@axkar axkar requested a review from wkz June 11, 2025 15:39
Copy link
Contributor

@wkz wkz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👏 👏

How big of an effort would it be to add tests for setting static speed duplex on the target side while we're at it?

@mattiaswal mattiaswal self-requested a review June 18, 2025 06:00
@axkar
Copy link
Collaborator Author

axkar commented Jun 18, 2025

Looks good! 👏 👏

How big of an effort would it be to add tests for setting static speed duplex on the target side while we're at it?

Not much. I can add them :)

@axkar axkar force-pushed the speed_duplex branch 2 times, most recently from f5c7a83 to 460a929 Compare June 23, 2025 16:07
@axkar axkar requested a review from wkz June 24, 2025 07:53
Copy link
Contributor

@wkz wkz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there! 💪

Copy link
Contributor

@wkz wkz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add `ethtool` to the Docker test environment to support
interface auto-negotiation tests.
@axkar axkar merged commit edd2e60 into main Jun 25, 2025
5 checks passed
@axkar axkar deleted the speed_duplex branch June 25, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-test for speed/duplex auto-negotiation on copper ports

4 participants